package com.qf.ayc.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaozhi
 * @since 2024-02-20
 */
@Data
@AllArgsConstructor
//生成无参的构造方法
@NoArgsConstructor
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String proname;

    private String type;

    private String proinfo;

    private Integer status;

    private Integer price;

    private String inventory;

    private String img;

    private Integer consts;
}
